Hybris UX Api icon

Hybris UX Api

(0 reviews)

TMF639 - patchLogicalResource

This operation allows to reserve or release MSISDN and eSIM (ICCID) from the inventory.

URL

http://[localhost]:[port]/ecom-ux/v1/{businessId}/logicalResource/{id}

URL PARAMS

nametypedescriptionrequired
businessIdString2 letter ISO 3166 country code (PA) identifying the business unit.Y
idstringResource identification number for which needs to patch the data.Y

Headers

nametypedescriptionrequired
client-idstringThe client-id identifying the channel. Minimum characters: 5Y
client-secretstringPassword associated with the client-id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
N

Data Model - Request

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A, conditionallyMandatory-C/M)
resourceStatusStringTracks the lifecycle status of the resource, such as planning, installing, operating, retiring and so on.

Possible values for PA: available, reserved
Y (PA)
@typeStringtype of the concrete resource.
Possible value for PA: MSISDN, ESIM
Y (PA)
relatedParty[].idStringunique identifierY (PA)
relatedParty[].roleStringRole played by the related partyC/M (PA:ESIM)
relatedParty[].'@referredType'StringThe actual type of the target instance when needed for disambiguation.Y (PA)
resourceCharacteristic[].nameStringName of the characteristicY (PA)
resourceCharacteristic[].valueTypeStringData type of the value of the characteristicY (PA)
resourceCharacteristic[].valueStringValue of the characteristicY (PA)

relatedParty subResource -Data Model

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A, conditionalMandatory- C/M)examples
relatedParty[].'@referredType' == "Customer"StringCustomer identity numberC/M (PA)PA(ESIM):
{
"id": "700319",
"@referredType" : "Customer"
}
relatedParty[].'@referredType' == "Employee"StringEmployee identity numberC/M (PA)PA(MSISDN):
{
"id": "99999",
"@referredType" : "Employee"
}

PA(ESIM):
{
"id": "99999",
"role": "authorizer",
"@referredType" : "Employee"
}

resourceCharacteristic subResource -Data Model

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)examples
resourceCharacteristic[].name == "SERVICE"StringType of the Service
Possible Value for PA: POSTPAID
Y (PA)PA(MSISDN & ESIM):
{
"name": "SERVICE",
"valueType": "string",
"value": "POSTPAID"
}
resourceCharacteristic[].name == "NumberArea"StringType of the NumberArea
Possible Value for PA: MOV
Y (PA)PA(MSISDN):
{
"name": "NumberArea",
"valueType": "string",
"value": "MOV"
}
resourceCharacteristic[].name == "BillingAccount.id"StringCustomer billingAccountY (PA)PA(MSISDN):
{
"name": "BillingAccount.id",
"valueType": "string",
"value": "358155960000"
}

Data Model - Response

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A, conditionalMandatory- C/M)
idStringIdentifier of an instance of the resource. Required to be unique within the resource type.Y (PA)
hrefStringHyperlink referenceY (PA)
resourceStatusStringTracks the lifecycle status of the resource, such as planning, installing, operating, retiring and so on.
Possible values for PA are: available, reserved
Y (PA)
@typeStringtype of the concrete resource.
Possible value for PA: MSISDN, ESIM
Y (PA)
relatedParty[].idStringunique identifierY (PA)
relatedParty[].roleStringRole played by the related partyC/M (PA : ESIM)
relatedParty[].'@referredType'StringThe actual type of the target instance when needed for disambiguation.Y (PA)
resourceCharacteristic[].nameStringName of the characteristicY (PA)
resourceCharacteristic[].valueTypeStringData type of the value of the characteristicY (PA)
resourceCharacteristic[].valueStringValue of the characteristicY (PA)

relatedParty subResource -Data Model

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A,conditionalMandatory- C/M)examples
relatedParty[].'@referredType' == "Customer"StringCustomer identity numberM (PA)PA(ESIM):
{
"id": "700319",
"@referredType" : "Customer"
}
relatedParty[].'@referredType' == "Employee"StringEmployee identity numberC/M (PA)PA(MSISDN):
{
"id": "99999",
"@referredType" : "Employee"
}

PA(ESIM):
{
"id": "99999",
"role": "authorizer",
"@referredType" : "Employee"
}

resourceCharacteristic subResource -Data Model

field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)examples
resourceCharacteristic[].name == "SERVICE"StringType of the Service
Possible Value for PA: POSTPAID
Y (PA)PA(MSISDN & ESIM):
{
"name": "SERVICE",
"valueType": "string",
"value": "POSTPAID"
}
resourceCharacteristic[].name == "NumberArea"StringType of the NumberArea
Possible Value for PA: MOV
Y (PA)PA(MSISDN):
{
"name": "NumberArea",
"valueType": "string",
"value": "MOV"
}
resourceCharacteristic[].name == "BillingAccount.id"StringCustomer billingAccountY (PA)PA(MSISDN):
{
"name": "BillingAccount.id",
"valueType": "string",
"value": "358155960000"
}

Key considerations

PA Implementation
Service number(MSISDN) usecase
- This is implemented for mobile postpaid customers.
- As this is implemented for mobile postpaid customers, if resourceCharacteristic[].name == "SERVICE" then value should be "POSTPAID".
- For MSISDN resourceCharacteristic[].name == "NumberArea" ,For FAST TRACK provisioning, the following value="MOV" is currently working in the Non-Prod environment. However, for the PROD instance, the channel must discuss and finalize the appropriate value with the business, which then need to be configured in the Liberate PROD instance.
- For MSISDN resourceCharacteristic[].name == "BillingAccount.id" then value should be customer billingAccount.
- To reserve/release a MSISDN, set the @type to MSISDN.
- To reserve a MSISDN, set the resourceStatus to "reserved".
- To release a MSISDN, set the resourceStatus to "available".
- If relatedParty[].'@referredType' == "Employee",For FAST TRACK provisioning, the following relatedParty[].id="99999" is currently working in the Non-Prod environment. However, for the PROD instance, the channel must discuss and finalize the appropriate values with the business, which then need to be configured in the Liberate PROD instance. If this value is not populated in request then by default "99999" sent from the ESB.
- For reserve/release MSISDN, refer to below url provided.
eSIM (ICCID) usecase
- This is implemented for mobile postpaid customers.
- As this is implemented for mobile postpaid customers, if resourceCharacteristic[].name == "SERVICE" then value should be "POSTPAID".
- To reserve/release a eSIM(ICCID), set the @type to ESIM.
- To reserve a eSIM(ICCID), set the resourceStatus to "reserved".
- To release a eSIM(ICCID), set the resourceStatus to "available".
- If relatedParty[].'@referredType' == "Employee" and relatedParty[].role == "authorizer" are given then employee identity number should be passed in relatedParty[].id else the employee identity number is sent as "99999" by default in the code.
- If relatedParty[].'@referredType' == "Customer then Customer id should be passed in relatedParty[].id
- For reserve/release eSIM(ICCID), refer to below url provided.

Note : For sample examples please refer to this URL Patch LogicalResource Specification


Reviews